#ifndef UART_CMD_DEF_H_
#define UART_CMD_DEF_H_

typedef enum
{
    UART_COMMAND_ENTER_TRANSPARENT_MODEL=0x00,
    UART_COMMAND_GET_PEER_DEVICE_MAC    =0x01,
    UART_COMMAND_GET_DEVICE_MAC         =0x02,
    UART_COMMAND_GET_PRODUCT_VERSION    =0x03,
    UART_COMMAND_SYSTEM_RESET            =0x04,
    UART_COMMAND_RESTORE_FACTROY_SETTING     =0x05,
    UART_COMMAND_SET_UART_BPS           =0x06,

    UART_COMMAND_GET_DEVICE_CLASS       =0x10,
    UART_COMMAND_SET_DEVICE_CLASS       =0x11,
    UART_COMMAND_GET_BLE_NAME           =0x12,
    UART_COMMAND_SET_BLE_NAME           =0x13,
    UART_COMMAND_GET_TX_POWER           =0x14,
    UART_COMMAND_SET_TX_POWER            =0x15,
    UART_COMMAND_GET_PASSWORD           =0x16,
    UART_COMMAND_SET_PASSWORD           =0x17,

    UART_COMMAND_START_SCAN             =0x30,
    UART_COMMAND_STOP_SCAN             =0x31,
    UART_COMMAND_CHECK_SEARCH_DEVICE   =0x32,

    UART_COMMAND_ENABLE_POWER_DOWN_SAVE_MS  =0x33,
    UART_COMMAND_GET_POWER_DOWN_SAVE_MS =0x34,
    UART_CONMAND_GET_MS_RELATION        =0x35,
    UART_CONMAND_DEL_MS_RELATION        =0x36,
    UART_COMMAND_START_CONNECT          =0x37,
    UART_COMMAND_STOP_CONNECT          =0x38,
    UART_COMMAND_CONNECT_STATUS         =0x39,
    UART_COMMAND_GET_RSSI              =0x3A,

    UART_COMMAND_SET_DATA_LOOP       =0xF0,
}UART_COMMAND_OPCODE_t;

#endif
